<? if(!defined('IN_MDL')) exit('Access Denied');?>
<? include $this->gettpl('header');?> 
<SCRIPT type="text/javascript" src="<?=APPPUBLIC?>Scripts/flashobject.js"></SCRIPT>

 <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#e6e6e6"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="200" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="40"><img src="<?=APPPUBLIC?>Images/Categories/Women.gif"   /></td>
            </tr>
          <tr>
            <td height="26" valign="top"><img src="<?=APPPUBLIC?>Images/Categories/Brands.gif"  /></td>
            </tr>
			<? foreach((array)$brand_list as $key => $val) {?>
            <tr>
            <td><a href="<? goods_url(array('brand'=>$val['brand_id'] ) )?>" class="Categories_Menu_a" title="<?=$val['brand_name_zn']?>"><?=$val['brand_name']?></a></td>
            </tr>
			<?}?>			 
          
          <tr>
            <td><a href="<? goods_url(array('brand'=>-1 ) )?>" class="Categories_Menu_a"><strong><font color="#444444">更多品牌...</font></strong></a></td>
            </tr>
          <tr>
            <td height="10"></td>
            </tr>
          <tr>
            <td height="25" valign="top"><img src="<?=APPPUBLIC?>Images/Categories/Categories.gif"   /></td>
            </tr>
			<? foreach((array)$cat_list as $key => $val) {?>
            <tr>
            <td><a href="<? goods_url(array('cat'=>$key))?>" class="Categories_Menu_a"><?=$val?></a></td>
            </tr>
			<?}?>		
          
          <tr>
            <td height="10"></td>
            </tr>
          <!--tr>
            <td height="25" valign="top"><img src="<?=APPPUBLIC?>Images/Categories/Theme.gif"   /></td>
            </tr-->
        </table></td>
        <td width="720" bgcolor="#FFFFFF"  valign="top"><table width="700" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="#292929">
          <tr>
            <td height="580" bgcolor="#FFFFFF"><div id="flashcontent">
              <div align="center"><a 
href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW" target="_blank">点击这里下载flash插件</a></div>
              <!--当客户端系统无FLASH插件时候显示下载链接-->
              <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="0" width="0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
                <param name="quality" value="high" />
                <param name="movie" value="<?=APPPUBLIC?>SWF/flash.swf" />
                <embed src="<?=APPPUBLIC?>SWF/flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
              </object>
            </div>
              <script type="text/javascript">
var fo = new FlashObject("<?=APPPUBLIC?>SWF/flash.swf", "flash", "680", "580", "7", "#fff");//高度、宽度、版本号和背景颜色（背景颜色仅对透明模式时有用，否则默认为白色）
    fo.addParam("quality", "high");//高质量播放
    fo.addParam("menu","false");//不显示右键菜单
    fo.addParam("wmode", "opaque");//透明方式
    fo.addVariable("pics", "<?=APPPUBLIC?>Images/P9.jpg|<?=APPPUBLIC?>Images/P4.jpg|<?=APPPUBLIC?>Images/P7.jpg");//图片地址
    fo.addVariable("links", "#|#|#|#|#|#|#|#");//图片链接
    fo.addVariable("texts", "|||||||");//图片文字
    fo.write("flashcontent");//输出内容
          </script>
              </div></td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<? include $this->gettpl('footer');?>